package pcjavanet.mobilesell.persistence;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import pcjavanet.mobilesell.model.Counter;
import pcjavanet.mobilesell.model.CounterExample;
import pcjavanet.mobilesell.model.PageBean;

public interface CounterMapper {
    int countByExample(CounterExample example);

    int deleteByExample(CounterExample example);

    int deleteByPrimaryKey(Integer dbid);

    int insert(Counter record);

    int insertSelective(Counter record);

    List<Counter> selectByExample(CounterExample example);

    Counter selectByPrimaryKey(Integer dbid);

    int updateByExampleSelective(@Param("record") Counter record, @Param("example") CounterExample example);

    int updateByExample(@Param("record") Counter record, @Param("example") CounterExample example);

    int updateByPrimaryKeySelective(Counter record);

    int updateByPrimaryKey(Counter record);

    List<Counter> getOnePageBeans(@Param("example") CounterExample example, @Param("pageBean") PageBean pageBean);

    int getTotalRecords(@Param("example") CounterExample example, @Param("pageBean") PageBean pageBean);

    List<Counter> selectByExamplePage(@Param("example") CounterExample example, @Param("pageBean") PageBean pageBean);
}